package com.itheima.service;

import com.itheima.dto.SlideBlockValidateCodeDTO;
import com.itheima.pojo.Order;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

public interface OrderService extends IService<Order> {


    String validate(String telephone, SlideBlockValidateCodeDTO slideBlockValidateCodeDTO);

    Order add(Map map);

    Map findMSGById(Long id);

    void updateState(long orderId);

    String findStatusById(Long id);

    void dealOrderByPayStatus(long orderId);
}
